package com.cloud.order.feign;

import com.alibaba.nacos.shaded.com.google.gson.JsonObject;
import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * packageName com.cloud.order.feign
 *
 * @author yanshuanglong
 * @version JDK 8
 * @interfaceName BaiDuFeginClient
 * @date 2025/3/18
 * @description TODO
 */
@FeignClient(value = "baidu-client",url = "https://baike.baidu.com/")
public interface BaiDuFeignClient {

    @GetMapping("/api/discussion/gettashuos")
    JsonNode gettashuos(@RequestParam("lemmaId")String lemmaId);
}
